package cn.com.headfree.expert.service;

import cn.com.headfree.entity.TDeclareExpertInfo;
import cn.com.headfree.entity.TSalaryInfo;
import cn.com.headfree.entity.isc.User;
import com.gta.edu.sdk.common.dto.Page;

import java.util.List;

/**
 * @Description: TODO
 * @Author wcSun
 * @Date 2022/6/28
 **/
public interface IDeclareExpertService {

    /**
     * 校验是否已提报
     * @param tDeclareExpertInfo
     * @return
     */
    List<TDeclareExpertInfo> judge(TDeclareExpertInfo tDeclareExpertInfo);

    void saveDeclareExpertInfo(TDeclareExpertInfo tDeclareExpertInfo);

    void getPageDeclareExpertInfo(Page<TDeclareExpertInfo> page, String year, User user);

    void auditAgreeInfo(String declareExpertId, User user);

    void auditRejectInfo(String declareExpertId,User user,String auditOpt);

    void getPageDeclareExpertInfoQuery(Page<TDeclareExpertInfo> page,String baseOrgId, String deptId,String userName, String erpNo, Integer year, String auditStatus);

    List<TDeclareExpertInfo> getDeclareExpertInfoQuery(String baseOrgId, String deptId,String userName, String erpNo, Integer year, String auditStatus);

    TDeclareExpertInfo getTDeclareExpertInfoById(String id);
}
